package com.java.concurrent.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Builder;
import lombok.Data;

@Data
@Builder
@TableName("`coupons`")
public class Coupon {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer remainingCount;
    private String name;
}